package mn.more.wits.client.exception;

/**
 * capture the condition that an user is requesting to log in with an inactive account.
 * <p/>
 * no detailed message should be provided regarding the inactive account -- to prevent securty leak.
 *
 * @author <a href="mailto:mike.liu@aptechmongolia.edu.mn">Mike Liu</a>
 * @version $Revision: 119 $
 */
public class AccountDisabledException extends WitsSecurityException {

	public AccountDisabledException() { }

	public AccountDisabledException(String message) { super(message); }

	public AccountDisabledException(String message, Throwable cause) { super(message, cause); }

	public AccountDisabledException(Throwable cause) { super(cause); }

	public int getErrorCode() { return ERROR_ACCOUNT_DISABLED; }

}
